<?php
if (! isset ( $_REQUEST ['type'] )) {
	$_REQUEST ['type'] = '';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Thêm mới lộ trình | Phần Mềm Quản Lý Điều Hành Xe | CÔNG TY TNHH
	DỊCH VỤ MINH VIỆT</title>

<!-- Bootstrap framework -->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
<!-- gebo blue theme-->
<link rel="stylesheet" href="css/blue.css" id="link_theme" />
<!-- breadcrumbs-->
<link rel="stylesheet" href="lib/jBreadcrumbs/css/BreadCrumb.css" />
<!-- tooltips-->
<link rel="stylesheet" href="lib/qtip2/jquery.qtip.min.css" />
<!-- notifications -->
<link rel="stylesheet" href="lib/sticky/sticky.css" />
<!-- code prettify -->
<link rel="stylesheet" href="lib/google-code-prettify/prettify.css" />
<!-- notifications -->
<link rel="stylesheet" href="lib/sticky/sticky.css" />
<!-- splashy icons -->
<link rel="stylesheet" href="img/splashy/splashy.css" />
<!-- colorbox -->
<link rel="stylesheet" href="lib/colorbox/colorbox.css" />
<!-- enhanced select -->
<link rel="stylesheet" href="lib/chosen/chosen.css" />
<!-- datepicker -->
<link rel="stylesheet" href="lib/datepicker/datepicker.css" />
<!-- main styles -->
<link rel="stylesheet" href="css/style.css" />
<!-- <link rel="stylesheet" href="css/style2.css" /> -->
<!-- Favicon -->
<link rel="shortcut icon" href="favicon.ico" />
<!--[if lte IE 8]>
        <link rel="stylesheet" href="css/ie.css" />
        <script src="js/ie/html5.js"></script>
        <script src="js/ie/respond.min.js"></script>
    <![endif]-->
</head>
<body class="menu_hover">
	<div id="maincontainer" class="clearfix">
		<!-- header -->
      <?php include 'menu.php'; ?>

      <!-- main content -->
		<div id="contentwrapper">
			<div class="main_content">
				<!-- BreadCrumb -->
				<nav>
					<div id="jCrumbs" class="breadCrumb module">
						<ul>
							<li><a href="#"><i class="icon-home"></i></a></li>
							<li><a href="booking.php">Thêm mới lộ trình</a></li>
							<li>Thêm mới lộ trình</li>
						</ul>
					</div>
				</nav>
				<!-- End BreadCrumb -->
				<div>
					<h3>Thêm mới lộ trình</h3>
					<form class="form-horizontal" action="#" method="post">
						<div class="row-fluid">
							<div class="span12">
								
								<div class="row-fluid">
									<div class="span6">
										<legend style="margin-bottom: 5px">Xe</legend>
										<div class="control-group">
											<label class="control-label">Loại xe</label>
											<div class="controls inline">
												<select name="" class="input-medium inline">
													<option>-- Chọn loại xe --</option>
													<option>4 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Bình thường</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Xe sang</option>
													<option>7 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Bình thường</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Xe sang</option>
													<option>16 chỗ</option>
													<option>45 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Bình thường</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- High Class</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- High Class</option>
												</select>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">Số lượng khách / DS</label>
											<div class="controls inline">
												<input type="text" class="input-small" /> <button class="btn">Danh sách</button>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">Hướng dẫn / Điện thoại</label>
											<div class="controls inline">
												<input type="text" class="input-medium" /> - <input
													type="text" class="input-small" />
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">Điểm hẹn / Giờ hẹn</label>
											<div class="controls inline">
												<input type="text" class="input-medium" /> - <input
													type="text" class="input-small" />
											</div>
										</div>
									</div>
									<div class="span6">
										<legend style="margin-bottom: 5px">Dịch vụ kèm theo</legend>
										<div class="control-group">
											<label class="control-label">Loại dịch vụ/SL</label>
											<div class="controls inline">
												<span class="input-medium uneditable-input">Khăn</span> - <span class="input-mini uneditable-input">10</span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">Loại dịch vụ/SL</label>
											<div class="controls inline">
												<span class="input-medium uneditable-input">Nước</span> - <span class="input-mini uneditable-input">10</span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">Loại dịch vụ/SL</label>
											<div class="controls inline">
												<select class="input-medium">
													<option>Nước</option>
													<option>Khăn</option>
													<option>Bia</option>
													<option>Rượu</option>
												</select>
												 - <input
													type="text" class="input-mini" />
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">Loại dịch vụ/SL</label>
											<div class="controls inline">
												<select class="input-medium">
													<option>Nước</option>
													<option>Khăn</option>
													<option>Bia</option>
													<option>Rượu</option>
												</select>
												 - <input
													type="text" class="input-mini" /> <button class="btn btn-small"><i class="icon-plus"></i></button>
											</div>
											 
										</div>
										
									</div>
								</div>
								<legend style="margin-bottom: 5px">
									Lộ trình &nbsp &nbsp <select class="input-mini" id="select_day">
										<option selected="selected">1</option>
										<option>2</option>
										<option>3</option>
										<option>4</option>
										<option>5</option>
									</select>
								</legend>

								<div class="">
									<div class="inline">
										<div class="row-fluid">
											<div class="span3">&nbsp;</div>
											<div class="span7">Lộ trình</div>
											<div class="span2">Số km</div>
										</div>
									</div>
								</div>
								<div class="control-group" id="select_day_1">
									<div class="inline">
										<div class="row-fluid">
											<div class="span3">
												Ngày 1 <input type="text" class="input-mini dp"
													value="10/10/2013" style="width: 70px"
													placeholder="Nhập ngày" /> <select name=""
													class="input-small" style="width: 85px">
													<option>Buổi sáng</option>
													<option>Buổi chiều</option>
													<option selected="selected">Cả ngày</option>
												</select>

											</div>
											<div class="span7">
												<input type="text" id="rout_list_1"
													class="input-large inline rout_item" style="width: 115px" />
												- <input type="text" id="rout_list_2"
													class="input-large inline rout_item" style="width: 115px" />
												- <input type="text" id="rout_list_3"
													class="input-large inline rout_item" style="width: 115px" />
												- <input type="text" id="new-road"
													class="input-medium inline rout_item" style="width: 115px" />
												<!--  <input type="text" id="new-road" class="input-medium inline rout_item" style="width: 115px" />  -->
											</div>
											<div class="span2">
												<input type="text" id="" class="input-mini inline" />&nbsp;
											</div>
										</div>
									</div>
								</div>

								<div class="control-group" id="select_day_2"
									style="display: none">
									<div class="span3">
										Ngày 2 <input type="text" class="input-mini dp"
											value="10/10/2013" style="width: 70px"
											placeholder="Nhập ngày" /> <select name=""
											class="input-small" style="width: 85px">
											<option>Buổi sáng</option>
											<option>Buổi chiều</option>
											<option selected="selected">Cả ngày</option>
										</select>

									</div>
									<div class="span7">
										<input type="text" id="rout_list_1"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="rout_list_2"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="rout_list_3"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="new-road"
											class="input-medium inline rout_item" style="width: 115px" />
										<!--  <input type="text" id="new-road" class="input-medium inline rout_item" style="width: 115px" />  -->
									</div>
									<div class="span2">
										<input type="text" id="" class="input-mini inline" />&nbsp;
									</div>
								</div>

								<div class="control-group" id="select_day_3"
									style="display: none">
									<div class="span3">
										Ngày 3 <input type="text" class="input-mini dp"
											value="10/10/2013" style="width: 70px"
											placeholder="Nhập ngày" /> <select name=""
											class="input-small" style="width: 85px">
											<option>Buổi sáng</option>
											<option>Buổi chiều</option>
											<option selected="selected">Cả ngày</option>
										</select>

									</div>
									<div class="span7">
										<input type="text" id="rout_list_1"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="rout_list_2"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="rout_list_3"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="new-road"
											class="input-medium inline rout_item" style="width: 115px" />
										<!--  <input type="text" id="new-road" class="input-medium inline rout_item" style="width: 115px" />  -->
									</div>
									<div class="span2">
										<input type="text" id="" class="input-mini inline" />&nbsp;
									</div>
								</div>

								<div class="control-group" id="select_day_4"
									style="display: none">
									<div class="span3">
										Ngày 4 <input type="text" class="input-mini dp"
											value="10/10/2013" style="width: 70px"
											placeholder="Nhập ngày" /> <select name=""
											class="input-small" style="width: 85px">
											<option>Buổi sáng</option>
											<option>Buổi chiều</option>
											<option selected="selected">Cả ngày</option>
										</select>

									</div>
									<div class="span7">
										<input type="text" id="rout_list_1"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="rout_list_2"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="rout_list_3"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="new-road"
											class="input-medium inline rout_item" style="width: 115px" />
										<!--  <input type="text" id="new-road" class="input-medium inline rout_item" style="width: 115px" />  -->
									</div>
									<div class="span2">
										<input type="text" id="" class="input-mini inline" />&nbsp;
									</div>
								</div>


								<div class="control-group" id="select_day_5"
									style="display: none">
									<div class="span3">
										Ngày 5 <input type="text" class="input-mini dp"
											value="10/10/2013" style="width: 70px"
											placeholder="Nhập ngày" /> <select name=""
											class="input-small" style="width: 85px">
											<option>Buổi sáng</option>
											<option>Buổi chiều</option>
											<option selected="selected">Cả ngày</option>
										</select>

									</div>
									<div class="span7">
										<input type="text" id="rout_list_1"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="rout_list_2"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="rout_list_3"
											class="input-large inline rout_item" style="width: 115px" />
										- <input type="text" id="new-road"
											class="input-medium inline rout_item" style="width: 115px" />
										<!--  <input type="text" id="new-road" class="input-medium inline rout_item" style="width: 115px" />  -->
									</div>
									<div class="span2">
										<input type="text" id="" class="input-mini inline" />&nbsp;
									</div>
								</div>
							</div>


							<!-- 								
								<legend>Xe &nbsp; &nbsp;
								
										<select class="input-mini" id="select_car">
											<option selected="selected">1</option>
											<option>2</option>
											<option>3</option>
											<option>4</option>
											<option>5</option>
										</select>								
								</legend>
								
								<div class="control-group">
									<div class="controls inline">
										<div class="row-fluid">
											<div class="span3">Loại xe /Số khách</div>
											<div class="span4">Hướng dẫn / điện thoại</div>
											<div class="span4">Địa điểm / thời gian hẹn</div>
											<div class="span1">DV</div>									
										</div>
									</div>
								</div>									
								<div class="control-group" id="select_car_1" class="select_car">
									<label class="control-label">Xe 1 <span class="f_req">*</span></label>
									<div class="controls inline">
										<div class="row-fluid">
											<div class="span3 ">
												<select name="" class="input-medium inline" >
													<option>-- Chọn loại xe --</option>
													<option>4 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Ford</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Mercedes</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Lexus</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- BMW</option>
													<option>7 chỗ</option>
													<option>16 chỗ</option>
													<option>45 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Nomal</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- High Class</option>
												</select>		
												- 
												<input type="text" id="rout_list_1" class="input-mini inline" />									
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-medium inline" /> -
												<input type="text" id="rout_list_1" class="input-small inline" />
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-large inline" /> -
												<input type="text" id="rout_list_1" class="input-mini inline" />
																							
											</div>
											<div class="span1">
												<button class="btn inline"><i class=""></i> Chi tiết</button>
											</div>
										</div>	
									</div>
								</div>

								<div class="control-group" id="select_car_2" class="select_car" style="display: none">
									<label class="control-label">Xe 2 <span class="f_req">*</span></label>
									<div class="controls inline">
										<div class="row-fluid">
											<div class="span3 ">
												<select name="" class="input-medium inline" >
													<option>-- Chọn loại xe --</option>
													<option>4 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Ford</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Mercedes</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Lexus</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- BMW</option>
													<option>7 chỗ</option>
													<option>16 chỗ</option>
													<option>45 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Nomal</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- High Class</option>
												</select>		
												- 
												<input type="text" id="rout_list_1" class="input-mini inline" />									
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-medium inline" /> -
												<input type="text" id="rout_list_1" class="input-small inline" />
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-large inline" /> -
												<input type="text" id="rout_list_1" class="input-mini inline" />
																							
											</div>
											<div class="span1">
												<button class="btn inline"><i class=""></i> Chi tiết</button>
											</div>
										</div>	
									</div>
								</div>
								<div class="control-group" id="select_car_3" class="select_car" style="display: none">
									<label class="control-label">Xe 3 <span class="f_req">*</span></label>
									<div class="controls inline">
										<div class="row-fluid">
											<div class="span3 ">
												<select name="" class="input-medium inline" >
													<option>-- Chọn loại xe --</option>
													<option>4 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Ford</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Mercedes</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Lexus</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- BMW</option>
													<option>7 chỗ</option>
													<option>16 chỗ</option>
													<option>45 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Nomal</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- High Class</option>
												</select>		
												- 
												<input type="text" id="rout_list_1" class="input-mini inline" />									
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-medium inline" /> -
												<input type="text" id="rout_list_1" class="input-small inline" />
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-large inline" /> -
												<input type="text" id="rout_list_1" class="input-mini inline" />
																							
											</div>
											<div class="span1">
												<button class="btn inline"><i class=""></i> Chi tiết</button>
											</div>
										</div>	
									</div>
								</div>
								<div class="control-group" id="select_car_4" class="select_car" style="display: none">
									<label class="control-label">Xe 4 <span class="f_req">*</span></label>
									<div class="controls inline">
										<div class="row-fluid">
											<div class="span3 ">
												<select name="" class="input-medium inline" >
													<option>-- Chọn loại xe --</option>
													<option>4 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Ford</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Mercedes</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Lexus</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- BMW</option>
													<option>7 chỗ</option>
													<option>16 chỗ</option>
													<option>45 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Nomal</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- High Class</option>
												</select>		
												- 
												<input type="text" id="rout_list_1" class="input-mini inline" />									
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-medium inline" /> -
												<input type="text" id="rout_list_1" class="input-small inline" />
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-large inline" /> -
												<input type="text" id="rout_list_1" class="input-mini inline" />
																							
											</div>
											<div class="span1">
												<button class="btn inline"><i class=""></i> Chi tiết</button>
											</div>
										</div>	
									</div>
								</div>
								<div class="control-group" id="select_car_5" class="select_car" style="display: none">
									<label class="control-label">Xe 5 <span class="f_req">*</span></label>
									<div class="controls inline">
										<div class="row-fluid">
											<div class="span3 ">
												<select name="" class="input-medium inline" >
													<option>-- Chọn loại xe --</option>
													<option>4 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Ford</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Mercedes</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Lexus</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- BMW</option>
													<option>7 chỗ</option>
													<option>16 chỗ</option>
													<option>45 chỗ</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- Nomal</option>
													<option>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|- High Class</option>
												</select>		
												- 
												<input type="text" id="rout_list_1" class="input-mini inline" />									
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-medium inline" /> -
												<input type="text" id="rout_list_1" class="input-small inline" />
											</div>
											<div class="span4">
												<input type="text" id="rout_list_1" class="input-large inline" /> -
												<input type="text" id="rout_list_1" class="input-mini inline" />
																							
											</div>
											<div class="span1">
												<button class="btn inline"><i class=""></i> Chi tiết</button>
											</div>
										</div>	
									</div>
								</div>
 -->
							<div class="control-group">
								<div class="controls">
									<button class="btn btn-primary" type="submit">
										<i class="icon-ok icon-white"></i> Lưu lại
									</button>
									<a href="booking-edit.php" class="btn">Quay lại</a>
								</div>
							</div>

						</div>
						<div class="span6"></div>
				
				</div>
				</form>
			</div>

		</div>
	</div>


	<script src="js/jquery.min.js"></script>
	<!-- smart resize event -->
	<script src="js/jquery.debouncedresize.min.js"></script>
	<!-- hidden elements width/height -->
	<script src="js/jquery.actual.min.js"></script>
	<!-- js cookie plugin -->
	<script src="js/jquery.cookie.min.js"></script>
	<!-- main bootstrap js -->
	<script src="bootstrap/js/bootstrap.min.js"></script>
	<!-- bootstrap plugins -->
	<script src="js/bootstrap.plugins.min.js"></script>
	<!-- code prettifier -->
	<script src="lib/google-code-prettify/prettify.min.js"></script>
	<!-- tooltips -->
	<script src="lib/qtip2/jquery.qtip.min.js"></script>
	<!-- jBreadcrumbs -->
	<script src="lib/jBreadcrumbs/js/jquery.jBreadCrumb.1.1.min.js"></script>
	<!-- sticky messages -->
	<script src="lib/sticky/sticky.min.js"></script>
	<!-- fix for ios orientation change -->
	<script src="js/ios-orientationchange-fix.js"></script>
	<!-- datepicker -->
	<script src="lib/datepicker/bootstrap-datepicker.min.js"></script>

	<!-- lightbox -->
	<script src="lib/colorbox/jquery.colorbox.min.js"></script>
	<!-- common functions -->
	<script src="js/gebo_common.js"></script>
	<!-- enhanced select (chosen) -->
	<script src="lib/chosen/chosen.jquery.min.js"></script>
	<script src="js/typeahead.js"></script>


	<script>
      $(document).ready(function() {
    	  $(".chzn_a").chosen({
				allow_single_deselect: true
			});
			$(".chzn_b").chosen();
			$('.dp').datepicker({format: "dd/mm/yyyy"});
			$('#dp_start').datepicker({format: "dd/mm/yyyy"}).on('changeDate', function(ev){
				var dateText = $(this).data('date');
				
				var endDateTextBox = $('#dp_end input');
				if (endDateTextBox.val() != '') {
					var testStartDate = new Date(dateText);
					var testEndDate = new Date(endDateTextBox.val());
					if (testStartDate > testEndDate) {
						endDateTextBox.val(dateText);
					}
				}
				else {
					endDateTextBox.val(dateText);
				};
				$('#dp_end').datepicker('setStartDate', dateText);
				$('#dp_start').datepicker('hide');
			});
			$('#dp_end').datepicker({format: "dd/mm/yyyy"}).on('changeDate', function(ev){
				var dateText = $(this).data('date');
				var startDateTextBox = $('#dp_start input');
				if (startDateTextBox.val() != '') {
					var testStartDate = new Date(startDateTextBox.val());
					var testEndDate = new Date(dateText);
					if (testStartDate > testEndDate) {
						startDateTextBox.val(dateText);
					}
				}
				else {
					startDateTextBox.val(dateText);
				};
				$('#dp_start').datepicker('setEndDate', dateText);
				$('#dp_end').datepicker('hide');
			});		
			$('#select_car').change(function() {
				var number_car = $(this).val();
				number_car = parseInt(number_car, 10);
				if (isNaN(number_car) || number_car <= 0) {
					number_car = 1;
				}
				if (number_car > 5) {
					number_car = 5;
				}	
				//$(this).val(number_car);
				$('.select_car').hide();
				for(var i = 1; i <= 5 ; i++) {
					if (i <= number_car) {
						$('#select_car_' + i).show();
					} else {
						$('#select_car_' + i).hide();
					}
					
				}
			});	

			$('.rout_item').typeahead({
			    name: 'rout',
			    valueKey : "name",
			    local: [
				{name: "Đón Nội Bài" , code : 'DNB'},
				{name: "Tiễn Nội Bài" , code : 'TNB'},
				{name: "Hà Nội", code : 'HN'},
				{name: "Hạ Long", code: 'HL'},
				{name: "Ninh Bình", code: 'NB'},
				{name: "Huế", code: "HUE"},
				{name: "Đà Nẵng", code: 'DN'},
				{name: "City 1 ngày", code :"CITY"},
				{name: "City 1/2 ngày", code: "CITY1/2"},
				{name: "Hải Dương", code: "HD"},
			    ]
			  });	
			$('#select_day').change(function(){
				for(var i=1; i <= 5; i++) {
					if (i <= $(this).val()) {
						$('#select_day_' + i).show();
					} else {
						$('#select_day_' + i).hide();
					}
				}
			})	
      });      
      
      </script>

	</div>
</body>
</html>
